import request from "@/utils/request";

// 获取视频url
export function immsVideoUrlGet(query) {
  return request({
    url: "/imms/video/get",
    method: "get",
    params: query,
  });
}

// 获取振动传感器
export function immsShakeGet(query) {
  return request({
    url: "/imms/shake/get",
    method: "get",
    params: query,
  });
}

// 数据分析报表
export function immsAnalysisGet1(query) {
  return request({
    url: "/imms/analysis/getdata1",
    method: "get",
    params: query,
  });
}
export function immsAnalysisGet2(query) {
  return request({
    url: "/imms/analysis/getdata2",
    method: "get",
    params: query,
  });
}
export function immsAnalysisGet3(query) {
  return request({
    url: "/imms/analysis/getdata3",
    method: "get",
    params: query,
  });
}
export function immsAnalysisGet4(query) {
  return request({
    url: "/imms/analysis/getdata4",
    method: "get",
    params: query,
  });
}
// 反控列表
export function immsControlGet(query) {
  return request({
    url: "/imms/control/getlist",
    method: "get",
    params: query,
  });
}

// 反控操作
export function immsControlById(query) {
  return request({
    url: "/imms/control/id",
    method: "get",
    params: query,
  });
}

// 故障历史
export function alarmRecord(query) {
  return request({
    url: "/imms/alarmRecord/page",
    method: "get",
    params: query,
  });
}
